﻿
using System;
namespace NetDisk_WebService.Model
{
	/// <summary>
	/// 网盘
	/// </summary>
	[Serializable]
	public partial class NetDisk
	{
		public NetDisk()
		{
			FType="F";
			FSize=0M;
			FDate= DateTime.Now;
		}
		#region Model
		/// <summary>
		/// id
		/// </summary>
		public decimal FID
		{
			set;
			get;
		}
		/// <summary>
		/// 上级id
		/// </summary>
        public decimal? FParentID
		{
			set;
			get;
		}
		/// <summary>
		/// 文件/目录名
		/// </summary>
		public string FName
		{
			set;
			get;
		}
		/// <summary>
		/// 后缀名：对于目录来说，应填写NULL
		/// </summary>
		public string FSuffixName
		{
			set;
			get;
		}
		/// <summary>
		/// 类型:  D 目录  F 文件
		/// </summary>
		public string FType
		{
			set;
			get;
		}
		/// <summary>
		/// 字节大小：数据库保存字节大小，显示时需要转换成BYTE , KB，M或G
		/// </summary>
		public decimal FSize
		{
			set;
			get;
		}
		/// <summary>
		/// 上传时间 对文件夹来说，是创建时间
		/// </summary>
		public DateTime FDate
		{
			set;
			get;
		}
		/// <summary>
		/// 登录ID
		/// </summary>
		public string FLogID
		{
			set;
			get;
		}
        /// <summary>
        /// 单位编号
        /// </summary>
        public string FEntityNo
        {
            set;
            get;
        }
        public string FMD5
        {
            set;
            get;
        }
        /// <summary>
        /// 相对路径
        /// </summary>
        public string relPath
        {
            set;
            get;
        }
        /// <summary>
        /// 上传类型
        /// </summary>
        public string FUploadMode
        {
            set;
            get;
        }

		#endregion Model

	}
}

